package com.mod.data 
{
	import com.calefk.core.Data;
	
	/**
	 * ...
	 * @author ...
	 */
	public class dtGame extends Data 
	{
		public var levels:Array;
		
		public function dtGame() {
			
		}
		
		override public function initialize(document:*):void {
			var xml:XML = new XML(document);
            levels = new Array();
            // read messages
            var levels_xml:XMLList = xml.levels;
            for each(var level_xml:XML in levels_xml.elements()) {
				var data_level:dtLevel = new dtLevel(level_xml);
				levels.push(data_level);
            }
		}
	}

}